package net.shopxx.entity;



import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 实体类 - 团购商品类
 */

@Entity
public class Groupbuylog extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -7282478600661479048L;
	
	private Groupbuy groupbuy;//团购商品
	private Member member;//团购会员
	private String username;//团购会员名
	private Integer quantity;//团购商品数量
	private String likeman;//团购联系人
	private String tel;//团购联系人电话
	private Order order;//团购的订单号
	public Groupbuy getGroupbuy() {
		return groupbuy;
	}
	public void setGroupbuy(Groupbuy groupbuy) {
		this.groupbuy = groupbuy;
	}
	public Member getMember() {
		return member;
	}
	public void setMember(Member member) {
		this.member = member;
	}
	@Column(length = 255)
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	@Column(length = 255)
	public String getLikeman() {
		return likeman;
	}
	public void setLikeman(String likeman) {
		this.likeman = likeman;
	}
	@Column(length = 60)
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public Order getOrder() {
		return order;
	}
	public void setOrder(Order order) {
		this.order = order;
	}
	
	
	
	
}